//
//  YSReadRecordModel.h
//  YSBookRead
//
//  Created by Kyson on 2018/11/6.
//  Copyright © 2018 YangShen. All rights reserved.
//
//  阅读记录Model

#import <Foundation/Foundation.h>
#import "YSBookChapterContentModel.h"

/// 最后一页标识
extern const NSInteger YSReadLastPageValue;

@interface YSReadRecordModel : NSObject <NSCoding>

/// BookID
@property (nonatomic, copy) NSString *bookID;
/// ChapterID
//@property (nonatomic, copy) NSString *chapterID;
/// 阅读页
@property (nonatomic, assign) NSInteger readChapter;
/// 阅读页
@property (nonatomic, assign) NSInteger readPage;

+ (instancetype)readRecordWithBookID:(NSString *)bookID;

@end

